<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="UTF-8">
    <title>房屋租赁系统</title>
    <link rel="stylesheet" type="text/css" href="css/common.css"/>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/jquery-ui.css"/>
    <style type="text/css">

        .result-wrap {
            border-bottom: none;
        }
        .helpinfo {
            text-align: center;
            width: 50%;
            max-width: 600px;
            margin: 0 auto;
        }

        .title {
            font-size: 18px;
            margin-top: 20px;
        }

        .msg {
            line-height: 30px;
            text-align: left;
            margin: 20px auto;
        }

        .msg span {
            color: #aaa;
        }

        .content {
            margin-bottom: 50px;
            text-align: left;
            line-height: 30px;
        }
    </style>
</head>

<body>
<div class="helpinfo">
    <div class="title">
        <h1>${helpInfo.title}</h1>
    </div>
    <div class="msg">
        <p>信息类型：<span>${helpInfo.infotype}</span></p>
        <p>发布时间：<span><fmt:formatDate value="${helpInfo.createdate}" type="date"
                                      pattern="yyyy-MM-dd HH:mm"/></span></p>
    </div>
    <div class="content">
        <p>${helpInfo.content}</p>
    </div>
</div>
</body>
</html>